'Declaration
Public Overloads Function Add(Of T As {New, Chart})( _ ByVal topLeftRowId As Integer, _ ByVal topLeftColumnId As Integer _ ) As T
'Usage
Dim instance As ChartCollection Dim topLeftRowId As Integer Dim topLeftColumnId As Integer Dim value As T value = instance.Add(Of T)(topLeftRowId, topLeftColumnId)
public T Add<T>( int topLeftRowId, int topLeftColumnId ) where T: new(), Chart
Parameters
- topLeftRowId
- The Id of the Row associated with the top left corner of the new Chart.
- topLeftColumnId
- The Id of the Column associated with the top left corner of the new Chart.
Type Parameters
- T
The type of Chart that will be added to the ChartCollection.
The Chart's Width & Height can then be used to determine its size.
Return Value
The Chart that has been added to the ChartCollection.